#include "HAL_device.h"
#include "HAL_conf.h"
#include "delay.h"
#include "uart.h"
#include "led.h"
#include <stdio.h>

int main(void)
{
    delay_init(48000000);
    UART1_Init(9600);
    LED_Init();

    while(1)
    {
        LED_ON();
        delay_ms(500);
        LED_OFF();
        delay_ms(500);
        UART1_SendData("helloworld!\r\n", 13);
    }
}

